package com.sanyu.pojo.vo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class DeviceVO implements Serializable {
    //ID
    private Long id;
    //设备名
    private String name;
    //设备类型
    private String type;
    //所属父设备ID
    private Long parentId;
    //所属片区ID
    private Long districtId;
    //创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    //创建人ID
    private Long createUser;
    //最后修改时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    //最后修改人ID;
    private Long updateUser;
}
